package keni.html.android.framework.connectionChannel;

import java.util.HashMap;
import java.util.Map;


public class Header {
	
	String contentType;
	String requestUri;
	Map<String, String> parameters=new  HashMap<String, String>();  
	public String GetContentType() {
		return contentType;
	}
	
	public String getRequestUri() {
		return requestUri;
	}
	
	public void setContentType(String contentType) {
		this.contentType=contentType;
	}
	
	public void setRequestUri(String requestUri) {
		this.requestUri=requestUri;
	}
	
	public String get(String key)
	{
		if(!parameters.containsKey(key)){
		return parameters.get(key);
		}
		return "";
	}
	
	public void add(String key,String value)
	{
		parameters.put(key, value);
	}
	
	public Map<String, String>  getHeaderItems() {
		return parameters;
	}
	

}
